package com.cskaoyan.demo10.mapper;

import com.cskaoyan.demo10.bean.Course;
import com.cskaoyan.demo10.bean.Student;

import java.util.List;

public interface CourseMapper {
    //select c.id,c.name from cskaoyan_course c
    //LEFT JOIN cskaoyan_relation r on c.id = r.c_id
    //where r.stu_id = 3
    List<Course> selectByStuId(Integer stuId);

    List<Student> selectByCrourseName(String courseName);
}
